﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/BoUser.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="CWB.Web.Mvc.Extensions" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%=Resources.Text.MenuMA %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="header" runat="server"></asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="BreadCrumbs" runat="server">
    <span id="agentbclisting"> <%=Resources.Text.Listing%></span>
<%
    CWB.Web.Trading trading = new CWB.Web.SessionData().trading;
    Response.Write((trading.position < 2) ? Resources.Text.MenuMA : Resources.Text.MenuMEM);
%>    
    <span id="agentbreadcrumbs"></span>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<div>
    <% =Resources.Text.Btn_Search%><% =Resources.Text.Label_Colon%><input type="text" value="" name="searchkey" id="searchkey" />
    <button id="Search"><%=Resources.Text.Btn_Search %></button>
    <select name="pageing" id="pageing"></select>
    <input type="hidden" id="uplinesn" name="uplinesn" value="<%=ViewData["uplinesn"] %>" />
    <input type="hidden" id="position" name="position" value="<%=ViewData["position"] %>" />
</div>
<div id="content">
    <table class="ui-widget-content ui-corner-all ui-widget" >
        <COLGROUP>
          <COL WIDTH="5%">
          <COL WIDTH="25%">
          <COL WIDTH="25%">
          <COL WIDTH="20%">
          <COL WIDTH="25%">
        </COLGROUP>
        <thead class="ui-widget-header">
            <tr>
                <th>Sn</th>
                <th><%=Resources.Text.LabelAgUserName %></th>
                <th><%=Resources.Text.LabelAgLoginID %></th>
                <th><%=Resources.Text.LabelAgStatus %></th>
                <th><%=Resources.Text.Label_Action %></th>
            </tr>
        </thead>
        <tbody id="DataListing"  class="ui-widget-content">
            <tr>
                <td colspan="7" class="align-center"><%=Resources.Text.Info_PlzClickSearchBtn%></td>
            </tr>
        </tbody>
    </table>
</div>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="JSContent" runat="server">
    <div id="orderform"></div>
    <script type="text/javascript" src="<%= Url.CdnContent("/js/Agent/Agent.js") %>"></script>
    <script type="text/javascript" src="<%= Url.CdnContent("/js/Agent/AgentOrder.js") %>"></script>
</asp:Content>
